package com.mf.springcloud.dao;

import com.mf.springcloud.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleDao {

    public boolean addArticle(Article article);

    public Article findById(Long id);

    public List<Article> findAll();

}
